#include "KeywordLineEdit.h"

KeywordLineEdit::KeywordLineEdit(QWidget *parent)
    : QLineEdit(parent)
{

}

KeywordLineEdit::~KeywordLineEdit()
{

}

void KeywordLineEdit::focusInEvent(QFocusEvent *e)
{
    emit sgFocusEvent(true);
    QLineEdit::focusInEvent(e);
}

void KeywordLineEdit::focusOutEvent(QFocusEvent *e)
{
    emit sgFocusEvent(false);
    QLineEdit::focusOutEvent(e);
}
